package com.zhuozhou.jdyc.main.menu.activity;

import android.os.Bundle;

import com.zhuozhou.jdyc.R;
import com.zhuozhou.jdyc.base.BaseToolbarActivity;
import com.zhuozhou.jdyc.databinding.BaseFragmentContainerBinding;
import com.zhuozhou.jdyc.main.main.viewmodel.MainViewModel;
import com.zhuozhou.jdyc.main.menu.fragment.TestSimpleFragment;

public class TestActivity extends BaseToolbarActivity<MainViewModel, BaseFragmentContainerBinding> {

    @Override
    protected int getLayoutId() {
        return R.layout.base_fragment_container;
    }

    @Override
    public String setTitleBar() {
        return "测试";
    }

    @Override
    public void initView() {
        addMenu("更多",R.color.themeColor,null);
        Bundle bundle = getIntent().getExtras() == null ? new Bundle() : getIntent().getExtras();
        mViewModel.setFragment(getSupportFragmentManager(), TestSimpleFragment.instantiate(bundle), R.id.container);
    }

    @Override
    public void initData(Bundle bundle) {

    }

}
